How to Calculate Inflation Rate: CPI Formula and Worked Examples
If you need to know how to calculate inflation rate, subtract the earlier Consumer Price Index (CPI) from the later CPI, divide the difference by the earlier CPI, and multiply by 100. For annual inflation, compare the same month in consecutive years; for monthly inflation, compare adjacent months. Matching dates, index series, and seasonal adjustment matters.
Inflation Rate Formula: The Calculation in One Line
The inflation rate measures how fast a price index changes between two observations. Although CPI levels often look abstract, they work like a consistent yardstick for a broad basket of consumer purchases.
Inflation rate (%) = [(CPI in later period − CPI in earlier period) / CPI in earlier period] × 100.
For example, an index rising from 120 to 126 implies (126 − 120) ÷ 120 × 100 = 5.0% inflation over the chosen interval. The increase is six index points, but the inflation rate is five percent. Dividing by the original index is the crucial step.
The same formula works for one month, 12 months, or a longer span. However, those are different statistics. A 12-month result describes price change over a year; a cumulative five-year result does not describe an annual inflation rate unless converted appropriately.
| Question | CPI comparison | What to call the result |
|---|---|---|
| How much did prices rise last month? | May versus April | One-month inflation |
| How much did prices rise in a year? | May this year versus May last year | 12-month or year-over-year inflation |
| How did the average price level change between calendar years? | Average of 12 monthly indexes in each year | Annual-average inflation |
| How much did prices rise over three years? | Ending index versus starting index | Cumulative three-year inflation |
How to Calculate Inflation Rate Step by Step
Step 1: Choose a Consistent Price Index
Start with an official series appropriate to the question. In the United States, the Bureau of Labor Statistics (BLS) publishes the CPI for All Urban Consumers (CPI-U), CPI for Urban Wage Earners and Clerical Workers (CPI-W), and other indexes. The United Kingdom publishes CPI and CPIH, which have different coverage. A food-only index cannot stand in for all-items inflation.
For clarity, record the country, population coverage, geography, category, and seasonal-adjustment status. Also check the index reference base. If a statistical agency rebases a series, use a linked consistent series rather than dividing levels from incompatible bases.
Step 2: Select the Correct Dates
Match the comparison interval to the question. For 12-month inflation ending in June, compare June with June of the previous year—not January with December. The latter spans only 11 monthly changes. This date error is common because both observations appear in the same calendar year.
Likewise, for month-over-month inflation, select adjacent months. For an annual-average comparison, calculate or retrieve each year’s mean of its 12 monthly CPI values. Never substitute one period definition for another merely because the resulting percentage looks more convenient.
Step 3: Subtract, Divide, and Multiply
Suppose a hypothetical index is 250.0 in the earlier period and 257.5 in the later period. Subtract to obtain 7.5, divide by 250.0 to obtain 0.03, and multiply by 100. The inflation rate is 3.0%. Keep enough decimals during the calculation and round only the final answer.
Step 4: Label and Interpret the Result
For that reason, write “prices rose 3.0% over 12 months” rather than “CPI increased by three points” or simply “inflation was three.” Include the series and dates when using real statistics. If the number is negative, the measured price level fell during that interval: that is deflation for the chosen basket and period.
Worked Example Using Actual BLS CPI Data
The BLS publishes a reproducible example for its U.S. city average, all-items CPI-U, not seasonally adjusted. In November 2021 the index was 277.948, while in December 2021 it was 278.802. Therefore, the one-month increase was 0.854 index points.
Monthly calculation: [(278.802 − 277.948) / 277.948] × 100 = approximately 0.3073%, typically displayed as 0.3%.
Now compare December 2021 with December 2022. The December 2022 value was 296.797. The calculation becomes [(296.797 − 278.802) / 278.802] × 100 = approximately 6.454%, displayed as 6.5%.
| Official BLS observation | CPI-U index | Role in calculation |
|---|---|---|
| November 2021 | 277.948 | Previous month |
| December 2021 | 278.802 | Current month / previous year |
| December 2022 | 296.797 | Current year |
| November–December 2021 | 0.3% | One-month change, rounded |
| December 2021–December 2022 | 6.5% | 12-month change, rounded |
Practical note: the official example is historical and teaches the method; it is not a claim about today’s inflation. When reporting current inflation, retrieve the relevant latest index release and repeat these steps rather than copying a historical rate.
Why December-to-December Inflation Differs From the Annual Average
One of the most useful distinctions in inflation analysis rarely appears in simplified calculators. BLS reports the annual-average CPI-U as 270.970 for 2021 and 292.655 for 2022. Comparing those means produces [(292.655 − 270.970) / 270.970] × 100 = approximately 8.0%.
Yet December-to-December inflation for the same years was 6.5%. Neither figure is wrong. The 8.0% number compares the average price level experienced across two whole calendar years; the 6.5% number compares conditions at their respective year ends.
In practice, this difference is particularly informative when inflation rises quickly during one year and slows in the next. By contrast, the annual average retains the effect of higher prices earlier in the year, whereas December-to-December focuses on two endpoints. Consequently, always ask which measure supports a wage contract, financial forecast, economic comparison, or public claim.
Monthly, Annualized, and Multi-Year Inflation: Three Distinct Calculations
Annualizing a Monthly Inflation Rate
Analysts sometimes annualize a monthly change to describe what would happen if that monthly pace repeated for 12 consecutive months. The compounding formula is [(1 + m/100)12 − 1] × 100, where m is the monthly percent change.
If monthly prices rise 0.4%, the compounded annualized pace is [(1.004)12 − 1] × 100, or approximately 4.91%. Multiplying 0.4 by 12 gives 4.8%, a close approximation but not the exact compounded result.
Annualization assumes the chosen monthly pace repeats. In reality, fuel prices, seasonal discounting, tariffs, and one-off adjustments can make a single month’s reading unusually volatile. Therefore, a 4.91% annualized monthly pace is not the same as a measured 4.91% 12-month inflation rate.
Converting a Multi-Year Change Into an Average Annual Rate
Suppose an illustrative CPI increases from 100 to 115 over three years. Cumulative inflation is 15%. The compound average annual rate is [(115 / 100)1/3 − 1] × 100, or roughly 4.77% per year. Simply dividing 15 by three gives 5%, which ignores compounding.
The annualized figure describes a constant hypothetical rate with the same cumulative outcome. It does not establish that inflation followed a smooth 4.77% path each year.
Linking Monthly Changes
Inflation compounds across periods. If prices rise 1% in month one and 1% in month two, the two-month increase is (1.01 × 1.01 − 1) × 100 = 2.01%, not exactly 2%. When the monthly rates vary, multiply all the monthly growth factors first, then subtract one.
This technique is useful when an index level is unavailable but a complete, consistently defined series of period changes exists. It also explains why the 12-month rate cannot be recovered by simply adding twelve published, rounded monthly percentages.
How a Consumer Price Basket Becomes an Inflation Index
In practice, official inflation statistics do not treat a carton of eggs as equally important as monthly housing costs. Statistical agencies combine price movements according to expenditure weights, so categories that absorb a larger share of household spending generally contribute more to the headline index.
For a deliberately simplified fixed basket, imagine households buy two units of bread and one unit of electricity service. At the base date, bread costs $3 per unit and electricity costs $14, making the basket $20. Later, bread costs $3.60 and electricity costs $15.80. The same basket then costs $23.
Basket inflation: [(23 − 20) / 20] × 100 = 15%. Importantly, the calculation uses unchanged quantities. It differs from averaging bread’s 20% price increase with electricity’s approximately 12.86% rise, because the two purchases do not have equal spending weights.
| Item | Fixed quantity | Base price | Later price | Base cost | Later cost |
|---|---|---|---|---|---|
| Bread | 2 | $3.00 | $3.60 | $6.00 | $7.20 |
| Electricity service | 1 | $14.00 | $15.80 | $14.00 | $15.80 |
| Total | — | — | — | $20.00 | $23.00 |
Real consumer price indexes use extensive price samples, product matching, quality adjustments, expenditure estimates, and chain linking. The fixed-basket illustration explains the central arithmetic, not the complete statistical production process. In its 2026 technical guidance, the U.K. Office for National Statistics describes higher-level CPI aggregation as a Laspeyres-type weighted approach and explains the use of chain links when weights or index reference periods change.
What Real CPI Weights Reveal About Headline Inflation
A category’s inflation rate and its contribution to the headline index are not interchangeable. BLS relative-importance data for December 2025 show U.S. CPI-U shelter at 35.625%, food at 13.698%, and energy at 6.383% of all items, in its table using 2024 weights.
These figures represent relative importance within a specific statistical index and reference date, not universal spending percentages for every household. Nonetheless, they illustrate why a notable food-price move and a modest shelter-price move can have different aggregate effects.
For example, consider a rough, first-order illustration using those weights: a 4% shelter-price increase corresponds to around 1.43 percentage points (0.35625 × 4) of weighted upward pressure, holding other factors constant. The figure is not an official CPI contribution. Actual index aggregation, evolving weights, and changes in other categories make a simplistic weight-times-change estimate incomplete.
Another revealing detail is that BLS reports the owners’ equivalent rent of primary residence alone at 25.230% in that table. The measure estimates the consumption value of owner-occupied housing services; it is not a monthly house-purchase price index or the cost of paying down mortgage principal.
Information gain: when readers say a large increase in supermarket bills “must” equal national inflation, they are mixing a personal spending shock with a weighted national statistic. Both observations can be true without either invalidating the other.
Headline vs Core Inflation and the Importance of Seasonal Adjustment
Headline CPI and Core CPI Answer Different Questions
Headline CPI includes the items covered by the complete consumer index, while the familiar U.S. core CPI measure excludes food and energy. Removing these categories may help analysts assess broader persistent price movements, but core CPI does not represent the cost of the complete consumer basket.
Neither series is automatically “more accurate.” A household exposed to higher grocery or utility bills still faces those expenses even when an economist monitors core inflation to evaluate underlying trends.
Seasonally Adjusted vs Not Seasonally Adjusted
Seasonal adjustment attempts to remove recurring patterns, such as holiday discounting or predictable seasonal price swings. U.S. monthly inflation headlines often emphasize seasonally adjusted changes, while 12-month CPI comparisons generally use not-seasonally-adjusted indexes. Mixing the two can lead to inconsistent results.
By comparison, the BLS historical worked examples earlier in this guide explicitly use the not-seasonally-adjusted CPI-U. When recreating a published percentage, check the exact series behind the release rather than relying solely on its rounded headline.
Why Inflation Can Fall While Prices Keep Rising
Disinflation means the inflation rate is getting lower while the price level can still increase. Deflation means the measured price level declines. They are not synonyms.
Suppose a hypothetical consumer basket costs $100, then $110 one year later, then $113.30 the following year. Inflation falls from 10% in the first interval to 3% in the second, yet the basket remains 13.3% more expensive than at the starting point.
This distinction matters when evaluating the effect of interest rates. Expansionary monetary policy can influence demand and inflation over time, but a reduction in the inflation rate does not mean that the earlier increase in the price level has reversed.
There is also a base effect: annual inflation compares current prices with a particular earlier month’s level. If the earlier month experienced an unusually sharp price surge, the year-over-year rate may drop when that high starting point enters the comparison—even if current prices have not fallen.
Calculating Purchasing Power and Real Returns
Inflation rates describe changes in prices; households and investors often need a related question answered: how much money is required to purchase the same basket later? Multiply the original amount by the ratio of the later CPI to the earlier CPI.
For example, the BLS December 2021–December 2022 CPI values imply that $500 in December 2021 purchasing power corresponds to about $532.27 at December 2022 prices, using the unrounded published indexes. BLS’s own factsheet illustrates this type of conversion with a rounded CPI ratio and reports approximately $532.50. The small difference reflects rounding rather than a different inflation concept.
Similarly, suppose an illustrative bond earns 5% over a period while consumer prices increase 3%. The exact real return before taxes and fees is [(1.05 / 1.03) − 1] × 100 ≈ 1.94%, not exactly 2%. This matters when comparing bond yields with purchasing-power objectives. Nominal interest is not the same as the real return received after inflation.
Similarly, long-horizon investors need to decide which inflation measure best represents future obligations. Housing, healthcare, education, and travel may not rise at identical rates. A long-term strategic asset allocation can incorporate an inflation assumption, but no diversified portfolio mechanically guarantees protection against every household’s personal price changes.
Personal Inflation: A Useful Calculation With Important Limits
A household can estimate its own expenditure-weighted inflation by comparing the cost of a consistent basket of purchases across two periods. Begin with categories such as rent, groceries, transport, utilities, and healthcare; record comparable prices or spending required for the same services; and then aggregate the change.
The difficulty is comparability. If a family moves into a larger home, buys a higher-quality car, or changes its diet, its spending may rise without an equivalent change in the price of the old basket. Conversely, buying less food because budgets are tight can reduce outlays even as food prices increase.
Therefore, a personal inflation worksheet is best understood as a household budget diagnostic, not a replacement for a representative official index. ONS explicitly notes that no two households have identical spending patterns and that personal inflation experiences differ.
Seven Calculation Errors That Distort Inflation Analysis
| Mistake | Why it misleads | Better method |
|---|---|---|
| Subtracting CPI levels and calling the difference a percentage | Index points depend on the reference base | Divide the change by the earlier index |
| Comparing January with December as “12-month inflation” | Those observations are 11 months apart | Compare the same month in adjacent years |
| Mixing seasonally adjusted and unadjusted series | Applies inconsistent seasonal treatment | Use the same series throughout |
| Adding 12 rounded monthly rates | Ignores compounding and rounding | Use index endpoints or multiply growth factors |
| Confusing annual-average with year-end inflation | Answers a different time-period question | Label each statistic precisely |
| Treating an annualized monthly pace as observed annual inflation | Assumes an unobserved repetition of one month’s change | Separate annualization from 12-month measurement |
| Equating personal grocery bills with all-items CPI | Different baskets, weights, and purchasing choices | Compare like-for-like purchases and identify coverage |
Before publishing or sharing a calculation, run a short audit: correct index, correct geography, matching base, consistent adjustment, correct dates, unrounded arithmetic, and an explicit time label. That seven-point check often matters more than the arithmetic itself.
Frequently Asked Questions About Inflation Calculations
What is the simplest formula to calculate inflation?
The inflation rate equals [(new CPI − old CPI) / old CPI] × 100. Use comparable CPI values covering the same population, category, base, and seasonal-adjustment treatment, and specify the interval.
How do you calculate the annual inflation rate?
Compare the CPI in a given month with the CPI in the same month one year earlier. An alternative annual-average measure compares the mean of all twelve monthly indexes for one year with the mean for another; it answers a different question.
Can inflation be negative?
Yes. A negative CPI percentage change means the measured price index fell between the selected dates. This is deflation over that interval. A smaller positive rate is disinflation, not deflation.
Is the Consumer Price Index itself a percentage?
No. CPI is an index level referenced to a base period, often set equal to 100. Inflation is the percentage change in the index between two dates. A CPI level of 300 does not mean current inflation is 300%.
Why does my spending increase faster than official inflation?
Your expenditure weights may differ from national index weights. You may spend a greater share on housing, food, or commuting, or buy a different quality mix. Official CPI describes a defined population’s aggregate basket, not any one household’s exact expenses.
Is a 0.5% monthly increase the same as 6% annual inflation?
No. Repeating a 0.5% increase for twelve months produces approximately [(1.005)12 − 1] × 100 = 6.17%. One observed monthly reading alone cannot establish the actual next twelve months’ inflation.
Final Takeaway: Get the Denominator—and the Definition—Right
The arithmetic behind inflation is straightforward: compare two consistent CPI readings, divide their difference by the earlier value, and multiply by 100. Reliable interpretation demands more care. A 12-month change, a calendar-year average, and an annualized monthly pace are different measurements. Index coverage and weights matter, and a falling inflation rate does not necessarily mean falling prices.
For practical use, preserve the original data and state the series, location, dates, adjustment basis, and calculation method. Those details make inflation figures reproducible—and prevent a seemingly small percentage error from becoming a significant financial decision.
